import i18n from '@src/locales';
// 日程管理需求-计划时间提醒-系统设置-表单工单
import FormPlanStarttimeSetting from './FormPlanStarttimeSetting.vue'
import FormPlanStarttimePreview from './FormPlanStarttimePreview.vue'
import FormPlanStarttime from './FormPlanStarttime.vue'

const TaskPlanStartTimeField = {
  formType: 'planStartTime',
  fieldName: 'planStartTime',
  name: i18n.t('common.form.type.planStartTime'),
  isSystem: 1,
  forceDelete: true,
  component: {
    preview: FormPlanStarttimePreview,
    build: FormPlanStarttime,
    extend: {
      'task_planStartTime_setting': FormPlanStarttimeSetting,
      'event_planStartTime_setting': FormPlanStarttimeSetting,
      'projectTask_planStartTime_setting': FormPlanStarttimeSetting,
      'projectType_planStartTime_setting': FormPlanStarttimeSetting
    }
  }
}

export default TaskPlanStartTimeField
